package com.demo.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 班级实体类
 */
@TableName("clazz")
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class Clazz implements Serializable {
    
    /**
     * 主键ID
     */
    @TableId(value = "clazz_id", type = IdType.AUTO)
    private Long clazzId;
    
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
    
    /**
     * 班级编号
     */
    @TableField("clazz_no")
    private Long clazzNo;
    
    /**
     * 班级名称
     */
    @TableField("clazz_name")
    private String clazzName;
    
    /**
     * 年级
     */
    @TableField("grade")
    private String grade;
    
    /**
     * 院系
     */
    @TableField("dept")
    private String dept;
    
    /**
     * 班主任ID
     */
    @TableField("head_teacher_id")
    private Long headTeacherId;
    
    /**
     * 班长学生ID
     */
    @TableField("monitor_student_id")
    private Long monitorStudentId;
    
    /**
     * 备注
     */
    @TableField("clazz_remark")
    private String clazzRemark;
    
    /**
     * 修改时间
     */
    @TableField("update_date")
    private Date updateDate;
}

